package ${packageName}.business.${lowerCaseTableName}.rest;

import ${packageName}.common.base.rest.IBaseRest;
import ${packageName}.business.${lowerCaseTableName}.pojo.entity.${entityName};
import ${packageName}.business.${lowerCaseTableName}.service.${entityName}Service;
import io.swagger.annotations.Api;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Long
 */
@Slf4j
@CrossOrigin
@RestController
@RequestMapping("/${humpTableName}/v1")
@RequiredArgsConstructor
@Api(tags = "${entityName}")
public class ${entityName}Rest extends IBaseRest<${entityName}, ${tablePrimaryKeyType}, ${entityName}Service, ${entityName}Rest> {
}